package org.gxuwz.core.entity;

import java.sql.Timestamp;

/**
 * TCommissure entity. @author MyEclipse Persistence Tools
 */

public class TCommissure implements java.io.Serializable {

	// Fields

	private String comcode;
	private String famicode;
	private String perscode;
	private String name;
	private String sex;
	private Integer age;
	private String address;
	private String contact;
	private Timestamp comtime;
	private String invoicecode;
	private Integer paynum;
	private Timestamp paynumtime;

	// Constructors

	/** default constructor */
	public TCommissure() {
	}

	/** minimal constructor */
	public TCommissure(String comcode) {
		this.comcode = comcode;
	}

	/** full constructor */
	public TCommissure(String comcode, String famicode, String perscode, String name, String sex, Integer age,
			String address, String contact, Timestamp comtime, String invoicecode, Integer paynum,
			Timestamp paynumtime) {
		this.comcode = comcode;
		this.famicode = famicode;
		this.perscode = perscode;
		this.name = name;
		this.sex = sex;
		this.age = age;
		this.address = address;
		this.contact = contact;
		this.comtime = comtime;
		this.invoicecode = invoicecode;
		this.paynum = paynum;
		this.paynumtime = paynumtime;
	}

	// Property accessors

	public String getComcode() {
		return this.comcode;
	}

	public void setComcode(String comcode) {
		this.comcode = comcode;
	}

	public String getFamicode() {
		return this.famicode;
	}

	public void setFamicode(String famicode) {
		this.famicode = famicode;
	}

	public String getPerscode() {
		return this.perscode;
	}

	public void setPerscode(String perscode) {
		this.perscode = perscode;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Integer getAge() {
		return this.age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getContact() {
		return this.contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public Timestamp getComtime() {
		return this.comtime;
	}

	public void setComtime(Timestamp comtime) {
		this.comtime = comtime;
	}

	public String getInvoicecode() {
		return this.invoicecode;
	}

	public void setInvoicecode(String invoicecode) {
		this.invoicecode = invoicecode;
	}

	public Integer getPaynum() {
		return this.paynum;
	}

	public void setPaynum(Integer paynum) {
		this.paynum = paynum;
	}

	public Timestamp getPaynumtime() {
		return this.paynumtime;
	}

	public void setPaynumtime(Timestamp paynumtime) {
		this.paynumtime = paynumtime;
	}

	@Override
	public String toString() {
		return "TCommissure [comcode=" + comcode + ", famicode=" + famicode + ", perscode=" + perscode + ", name="
				+ name + ", sex=" + sex + ", age=" + age + ", address=" + address + ", contact=" + contact
				+ ", comtime=" + comtime + ", invoicecode=" + invoicecode + ", paynum=" + paynum + ", paynumtime="
				+ paynumtime + "]";
	}

}